projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980d43b
)
(rmail-select-summary): Add a save-excursion.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 3 Jun 1993 21:02:22 +0000
(21:02 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 3 Jun 1993 21:02:22 +0000
(21:02 +0000)
lisp/mail/rmail.el
patch
|
blob
|
history
diff --git
a/lisp/mail/rmail.el
b/lisp/mail/rmail.el
index 6658185005dc5565e74e9cd61d05f1dd3ec63e02..d5b5349d7cbe6941129d288bcdcb8daea90b7b6e 100644
(file)
--- a/
lisp/mail/rmail.el
+++ b/
lisp/mail/rmail.el
@@
-170,11
+170,12
@@
Called with region narrowed to unformatted header.")
(defmacro rmail-select-summary (&rest body)
(` (progn (if (rmail-summary-displayed)
(let ((window (selected-window)))
- (unwind-protect
- (progn
- (pop-to-buffer rmail-summary-buffer)
- (,@ body))
- (select-window window)))
+ (save-excursion
+ (unwind-protect
+ (progn
+ (pop-to-buffer rmail-summary-buffer)
+ (,@ body))
+ (select-window window))))
(save-excursion
(set-buffer rmail-summary-buffer)
(progn (,@ body))))